<!DOCTYPE html>
<html>
	<head>
		<title>网页检测</title>
		<meta charset="utf-8"/>
	</head>
	<!--百度统计-->
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?04e828ac441acffeb4a6bc5698f79d55";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
	<body>
		<script>
    var  s = "";
   s += "\r\n网页可见区域宽："+ document.body.clientWidth;
   s += "<br/>\r\n网页可见区域高："+ document.body.clientHeight;
   s += "<br/>\r\n网页可见区域宽："+ document.body.offsetWidth  +" (包括边线的宽)";
   s += "<br/>\r\n网页可见区域高："+ document.body.offsetHeight +" (包括边线的宽)";
   s += "<br/>\r\n网页正文全文宽："+ document.body.scrollWidth;
   s += "<br/>\r\n网页正文全文高："+ document.body.scrollHeight;
   s += "<br/>\r\n网页被卷去的高："+ document.body.scrollTop;
   s += "<br/>\r\n网页被卷去的左："+ document.body.scrollLeft;
   s += "<br/>\r\n网页正文部分上："+ window.screenTop;
   s += "<br/>\r\n网页正文部分左："+ window.screenLeft;
   s += "<br/>\r\n屏幕分辨率的高："+ window.screen.height;
   s += "<br/>\r\n屏幕分辨率的宽："+ window.screen.width;
   s += "<br/>\r\n屏幕可用工作区高度："+ window.screen.availHeight;
   s += "<br/>\r\n屏幕可用工作区宽度："+ window.screen.availWidth;
   document.write(s);

</script>
	</body>
</html>

